import service from "./service";

// 云贝
export function getYunbei (cookie) {
  return service({
    url: `/yunbei?cookie=${cookie}`,
    method: 'get'
  })
}

// 云贝账户信息
export function getAccount (cookie) {
  return service({
    url: `/yunbei/info?cookie=${cookie}`,
    method: 'get'
  })
}

// 云贝收入
export function getYunbeiIncome (cookie) {
  return service({
    url: `/yunbei/tasks/receipt?cookie=${cookie}`,
    method: 'get'
  })
}

// 云贝支出
export function YunbeiExpenditure (cookie) {
  return service({
    url: `/yunbei/tasks/expense?cookie=${cookie}`,
    method: 'get'
  })
}
